package com.atguigu.staservice.client;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @create: 2022/10/14
 * @Description:
 * @FileName: UcenterClient
 * @自定义内容：
 */
@FeignClient("service-ucenter")
public interface UcenterClient {

    //查询某一天的注册人数
    @GetMapping("/educenter/BackEnd/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day);
}
